Compiling State Constraints

نویسندگان

  • Hussien Oakasha
  • Gunter Saake
چکیده

The evaluation of constraints needs in many cases that a large portion of the database to be accessed. This makes the process of integrity checking very di cult to implement e ciently. Thus nding methods to improve the evaluation of integrity constraints is an important area of research in the eld of database integrity. Most of these methods are based on simpli cation principles. One of these methods is presented by Nicolas in [Nic82]. In this method the simpli ed form of a constraint depends on updating operations performed on database states. For that reason, the simpli ed form is obtained at update time. In this report we show that, for a given constraintW and an update that is to be performed to a relation R, it is not necessary to do all the steps of the method at run time, but we can do most of these steps at compile time. We do that by developing a representation that stores simpli ed instances of W together with other information about occurrences of R in W into meta relations. The simpli ed instances stored in the meta relations are obtained form W by applying the same simpli cation steps of the method, but here we use generic constants instead of speci c update values. When an update is performed to the relation R, the generic constants in the meta relations are replaced with the update values and a relational algebra expression is performed on the obtained relation, resulting in a set of formulas. We will show that by only applying the third step of the method to the conjunctions of these formulas we can get the simpli ed form obatined by the simpli cation method at run time.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Compiling Quantum Circuits to Realistic Hardware Architectures using Temporal Planners

To run quantum algorithms on emerging gate-model quantum hardware, quantum circuits must be compiled to take into account constraints on the hardware. For near-term hardware, with only limited means to mitigate decoherence, it is critical to minimize the duration of the circuit. We investigate the application of temporal planners to the problem of compiling quantum circuits to newly emerging qu...

متن کامل

Mix and Match Replacement Rules

A flexible construction kit is presented compiling various forms of finite state replacement rules. The approach is simpler and more declarative than algorithms in the tradition of Kaplan & Kay. Simple constraints can be combined to achieve complex effects, including effects based on Optimality Theory.

متن کامل

Compiling Simple Context Restrictions with Nondeterministic Automata

This paper describes a non-conventional method for compiling (phonological or morpho-syntactic) context restriction (CR) constraints into non-deterministic automata in finite-state tools and surface parsing systems. The method reduces any CR into a simple one that constraints the occurrences of the empty string and represents right contexts with co-determististic states. In cases where a fully ...

متن کامل

Mutation Scheduling: A Unified Approach to Compiling for Fine-Grain Parallelism

Trade-o s between code selection, register allocation, and instruction scheduling are inherently interdependent, especially when compiling for ne-grain parallel architectures. However, the conventional approach to compiling for such machines arbitrarily separates these phases so that decisions made during any one phase place unnecessary constraints on the remaining phases. Mutation Scheduling a...

متن کامل

Compiling HPSG Type Constraints into Definite Clause Programs

We present a new approach to HPSG processing: compiling HPSG grammars expressed as type constraints into definite clause programs. This provides a clear and computationally useful correspondence between linguistic theories and their implementation. The compiler performs off-line constraint inheritance and code optimization. As a result, we are able to efficiently process with HPSG grammars with...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998